<h1>Testimonials List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Student</th>
      <th>Teacher</th>
      <th>Fb content</th>
      <th>Fb rate</th>
      <th>Created at</th>
      <th>Updated at</th>
      <th>Fb status</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($feedback_list as $feedback): ?>
    <tr>
      <td><a href="<?php echo url_for('Testimonials/show?id='.$feedback->getId()) ?>"><?php echo $feedback->getId() ?></a></td>
      <td><?php echo $feedback->getStudentId() ?></td>
      <td><?php echo $feedback->getTeacherId() ?></td>
      <td><?php echo $feedback->getFbContent() ?></td>
      <td><?php echo $feedback->getFbRate() ?></td>
      <td><?php echo $feedback->getCreatedAt() ?></td>
      <td><?php echo $feedback->getUpdatedAt() ?></td>
      <td><?php echo $feedback->getFbStatus() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('Testimonials/new') ?>">New</a>
